part of 'route.dart';

class Routes {
  ///
  /// 页面:[AppHomePage]
  /// 路由名:main
  /// 路径:/main
  /// 参数:null
  /// 描述:主页面
  ///
  static const String main = '/main';

  static Future<T?>? toMain<T>() {
    return Get.toNamed<T>(Routes.main);
  }
}
